Increasing the Efficiency of Existing Sorting Algorithms by Using Randomized Wrappers

نویسندگان

  • Alexandros V. Gerbessiotis
  • Constantinos J. Siniolakis
چکیده

There are several generic sorting algorithms available that are highly optimized and are provided as part of standard programming libraries, such as the qsort implementation of quicksort available through the C standard library. In this work we present a practical algorithmic transformation that uses random sampling and ordered search, that can convert an existing implementation of any sorting algorithm X into a sorting algorithm Y of higher observed efficiency but which still utilizes X for sorting. The resulting algorithm Y is a randomized algorithm of faster running time with high probability. Experimental results based on an implementation of the transformation support the efficiency claim. The transformation could be used as a wrapper for sorting implementations to increase their efficiency and to eliminate the spikes of poor performance of such implementations for certain input instances.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

AERO-THERMODYNAMIC OPTIMIZATION OF TURBOPROP ENGINES USING MULTI-OBJECTIVE GENETIC ALGORITHMS

In this paper multi-objective genetic algorithms were employed for Pareto approach optimization of turboprop engines. The considered objective functions are used to maximize the specific thrust, propulsive efficiency, thermal efficiency, propeller efficiency and minimize the thrust specific fuel consumption. These objectives are usually conflicting with each other. The design variables consist ...

متن کامل

A parallelism-motivated sequential sorting framework

We employ techniques developed and used in the design of parallel sorting algorithms to propose a new framework for sequential sorting. This framework is then used to design new deterministic and randomized sorting methods whose asymptotic worst-case running time can match the existing lower bound for sorting, yet their practical performance, as witnessed by an experimental study, surpasses exi...

متن کامل

Optimal design of squirrel cage induction motor using multi-objective Salp Swarm Algorithm

The design of three-phase induction motors is a challenge in electrical engineering. Therefore, new design techniques are continuously provided. Since the design of the induction motors is carried out for different purposes, it is difficult to find a method that can addresses all the targets. Nowadays, the normal methods used to solve multi-objective problems are the optimization strategies. In...

متن کامل

Optimization of Bank Portfolio Investment Decision Considering Resistive Economy

Increasing economy’s resistance against the menace of sanctions, various risks, shocks, and internal and external threats are one of the main national policies which can be implemented through bank investments. Investment project selection is a complex and multi-criteria decision-making process that is influenced by multiple and often some conflicting objectives. This paper studies portfolio inve...

متن کامل

Assessment of the Conservation Area Network Development in Markazi Province Using Landscape Metrics

Prioritization and selection of sample areas from the whole nature is necessary to protect biodiversity. The main purpose of this study was to evaluate the development of a network of conservation areas in Markazi province using landscape metrics. For this purpose, we used MaxEnt, Marxan, Fragstat softwares and eight conservation criteria. Results were compared by using simulated sorting, greed...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:
  • Comput. J.

دوره 46  شماره 

صفحات  -

تاریخ انتشار 2003